package org.example.y24.m10;

public class TraditionMain {
    static class Weapon {
        public String name;
        public int attack;
        public Weapon(String name, int attack) {
            this.name = name;
            this.attack = attack;
        }
    }
    static class Character {
        public org.example.y24.m10.Weapon weapon;
        public Character(String name, int attack) {
            this.weapon = new org.example.y24.m10.Weapon(name, attack);
        }

    }
    public static void main(String[] args) {
        Character character = new Character("剑", 100);
    }
}
